<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta content="text/html; charset=utf-8" http-equiv="Content-Type">

        <link type="text/css" rel="stylesheet" href="{TPL}css/AddItemPanel.css">

                <link type="text/css" rel="stylesheet" href="{TPL}css/NewTopFoot.css" />

                <link type="text/css" rel="stylesheet" href="templates/default/css/ShoppingRecords.css">

		<link type="text/css" id="styleName" rel="stylesheet"

			href="{TPL}css/blue/color.css"/ >

                        <link type="text/css" rel="stylesheet" href="{TPL}css/circuit.css" />

                        <script src="{TPL}js/jquery-1.4.1.min.js" type="text/javascript"></script>

                        <script type="text/javascript" src="{TPL}js/wdggcGobal.js"></script>

                        <script type="text/javascript" src="{TPL}js/FillShoppingForm.js"></script>
						    <style type="text/css">





.pages {float:right;height:25px;margin:15px 0 0 0;display:inline;}

.pages li{list-style-type: none;}

.pages  a{text-decoration:none;}

.pages li{

border:1px solid #AAAAAA;color:#666666;display:inline;float:left;height:20px;line-height:20px;margin-left:2px;padding:0 5px;text-decoration:none;}

.pages li {border:1px solid #DDDDDD;color:#CCC;font-family:"simsun";}

.pages li:hover {background:#FFEDE1;border:1px solid #FF9900;}

.pages .current {background:#FFEDE1;border:1px solid #FF6600;color:#FF0000;}

.pages em {color:#999999;display:inline;float:left;height:22px;line-height:22px;margin-left:5px;}



    </style>

                        <title>库存列表 - {$cfg_site_name}</title>

</head>

<body>

        {template 'header'}

        <div class="admin">

                <div class="ding">

                        <div class="shouye">

                                <a title="我的首页" href="{url_m.php}"></a>

                        </div>

                        <div class="lb">

                                <div class="weizhi">

                                        <b>{lang Location}：</b><a href="{url_m.php}">{lang

                                                Member_Center}</a><span>&gt;</span> 库存列表

                                </div>



                                <div class="shezhi">

                                        <p>

                                                <a href="{url_m.php}">{lang My_Member_Center}</a><span>|</span>{lang

                                                Setting_style}：

                                        </p>

                                        <ul>

                                                <li onclick="changeStyle('orange')" class="mypanliS1"></li>

                                                <li onclick="changeStyle('grey')" class="mypanliS2"></li>

                                                <li onclick="changeStyle('blue')" class="mypanliS3"></li>

                                        </ul>

                                </div>

                        </div>

                </div>



                {template 'member_left'}



                <div class="fill">

                <p>&nbsp;</p>

                <p>&nbsp;</p>

			    <div class="biao tui">

                        <table>

                        <tr>

                                <td colspan="9">

                                        <form action="m.php">

                                <select id="status" name="status">

                                                <option value="0">全部商品</option>

                                                <option <?php if($status == 1){?> selected="selected" <?php }?> value="1">未入库</option>
                                                
                                                <option <?php if($status == 3){?> selected="selected" <?php }?> value="3">已入库</option>

                                                <option <?php if($status == 4){?> selected="selected" <?php }?> value="4">已出库</option>

                                        </select>

                                        <input name="name" value="depotlist" type="hidden">

                                        <input type="submit" value="点击查看">

                                        </form>

                                </td>

                        </tr>

                        <tr>

                                <td>选择</td>

                                <td>购物网站</td>
                                <td>快递公司</td>
                                <td>转运号码</td>
                                <td>包裹内容</td>
                                <td>重量</td>
                                <td>状态</td>
								<td>入库时间</td>
                                <td>操作</td>

                          </tr>

                        <form method="post" action="?name=delivery&action=push">

                        {if !empty($exlist)}

                        {loop $exlist $ex}

                        <tr>

                                <td><?php if($ex['status'] == 3){?><input type="checkbox" value="{$ex['gid']}" name="gid[]"/><?php }?></td>

                                <td>{$ex['shops']}</td>
                                <td>{$ex['extype']}</td>
                                <td>{$ex['ex']}</td>
                                <td>{$ex['bag']}</td>
                                <td>{$ex['weight']}kg</td>
                                <td>{$ex['status_info']}</td>
								<td><?php if($ex['storagetime']){ echo date("Y-m-d H:i:s", $ex['storagetime']);} ?></td>
                                <td><?php if($ex['status'] == 1){?>
                                  <a href="?name=depotlist&amp;action=del&amp;gid={$ex['gid']}">取消</a>
                                  <?php }?></td>

                          </tr>

                        {/loop}

                        <tr>

                                <td colspan="8"><input type="submit" value="生成订单"/>

                                　勾选多件即合单发货，勾选单件即单件发货。</td>

                        </tr>

                        {/if}

                        </form>

                        </table>
						<div>{echo pagelist($total,$pagesize,$page,"");}</div>
          </div></div>

                <div class="yj"></div>

        </div>

        {template 'footer'}

</body>

</html>